 // heal.c
#include <ansi.h> 
int exert(object me, object target, int amount)
{
        if( target != me ) return 
                notify_fail("你只能用内功疗自己的伤。\n"); 
        if( me->is_fighting() )
                return notify_fail("战斗中运功疗伤？找死吗？\n"); 
        if( (int)me->query("force") - (int)me->query("max_force") < 50 )
                return notify_fail("你的真气不够。\n");  
        write( HIW "你全身放松，坐下来开始运功疗伤。\n" NOR);
        message("vision",
                HIW + me->name() + "坐下来运功疗伤，脸上一阵红一阵白，不久，吐出一口瘀血，脸色看起来好多了。\n" NOR,
                environment(me), me); 
        me->receive_curing("kee", 10 + (int)me->query_skill("jingxing",1));
        me->add("force", -50);
        me->set("force_factor", 0); 
        return 1;
}   
